/* Blog Masonry Grid
---------------------------------- */
.masonry-grid-item .blogpost footer {
  padding-top: 0px;
  border-top: none;
}

.masonry-grid-item .blogpost header h2 {
  font-size: 22px;
}

/* Blog Timeline layout
---------------------------------- */
.timeline {
  position: relative;
  padding: 40px 0;
  margin-top: 40px;
}

.timeline .blogpost footer {
  padding-top: 0px;
  border-top: none;
}

.timeline .blogpost header h2 {
  font-size: 22px;
}

.timeline .timeline-item {
  padding: 0 15px;
}

.timeline-date-label {
  float: none;
  clear: both;
  display: block;
  margin: 0px auto;
  text-align: center;
  margin-bottom: 80px;
  line-height: 1;
  width: 135px;
  position: relative;
  z-index: 2;
  color: #ffffff;
}

.timeline-date-label:after {
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  height: 30px;
  width: 100%;
  position: absolute;
  bottom: -8px;
  z-index: -1;
}

/* Small devices (tablets, 768px and up) */
@media (min-width: 768px) {
  .timeline .blogpost {
    margin-bottom: 0;
  }

  .timeline:before {
    background-color: #e8e8e8;
    background: -moz-linear-gradient(top, transparent 0%, rgba(0, 0, 0, 0.09) 10%, rgba(0, 0, 0, 0.09) 90%, transparent 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, transparent), color-stop(10%, rgba(0, 0, 0, 0.09)), color-stop(90%, rgba(0, 0, 0, 0.09)), color-stop(100%, transparent));
    background: -webkit-linear-gradient(top, transparent 0%, rgba(0, 0, 0, 0.09) 10%, rgba(0, 0, 0, 0.09) 90%, transparent 100%);
    background: -o-linear-gradient(top, transparent 0%, rgba(0, 0, 0, 0.09) 10%, rgba(0, 0, 0, 0.09) 90%, transparent 100%);
    background: -ms-linear-gradient(top, transparent 0%, rgba(0, 0, 0, 0.09) 10%, rgba(0, 0, 0, 0.09) 90%, transparent 100%);
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.09) 10%, rgba(0, 0, 0, 0.09) 90%, transparent 100%);
    width: 1px;
    height: 100%;
    content: "";
    position: absolute;
    left: 50%;
    display: block;
    top: 0;
  }

  .timeline .timeline-item {
    position: relative;
    width: 50%;
    padding-left: 0;
    padding-right: 40px;
    margin-bottom: 80px;
    float: left;
    clear: left;
    z-index: 1;
  }

  .timeline .timeline-item.pull-right {
    position: relative;
    width: 50%;
    padding-left: 40px;
    padding-right: 0;
    margin-top: 80px;
    margin-bottom: 0;
    float: right;
    clear: right;
  }

  .timeline .timeline-item.pull-right + .timeline-date-label {
    padding-top: 80px;
  }

  .timeline .timeline-item:after {
    content: "";
    font-family: "FontAwesome";
    right: 0px;
    background-color: #eaeaea;
    left: auto;
    position: absolute;
    top: 20px;
    z-index: -1;
    width: 35px;
    height: 1px;
  }

  .timeline .timeline-item:before {
    content: "";
    position: absolute;
    background-color: #cdcdcd;
    border: 1px solid #cdcdcd;
    height: 7px;
    width: 7px;
    -webkit-border-radius: 100%;
    -moz-border-radius: 100%;
    border-radius: 100%;
    top: 17px;
    right: -4px;
  }

  .timeline .timeline-item.pull-right:after {
    right: auto;
    left: 0px;
  }

  .timeline .timeline-item.pull-right:before {
    left: -3px;
  }
}

/* Small devices (tablets, phones less than 767px) */
@media (max-width: 767px) {
  .timeline .timeline-item.pull-right {
    float: none !important;
  }
}

/* Shop Pages
---------------------------------- */
/*Product Page*/
.product.price {
  font-size: 24px;
  font-weight: 400;
}

.product.price del {
  color: #cdcdcd;
  font-size: 14px;
}

.product.element-list {
  margin-top: 7px;
}

/*Dropdown Cart*/
.header-dropdown-buttons .btn-group .dropdown-menu.cart {
  padding: 0;
  min-width: 350px;
  font-size: 13px;
}

.header-dropdown-buttons .btn-group .dropdown-menu.cart table {
  margin-bottom: 0;
}

.header-dropdown-buttons .btn-group .dropdown-menu.cart .panel-body {
  padding: 0px 10px 0px;
}

.cart-count {
  position: absolute;
  top: -2px;
  right: -3px;
  line-height: 14px;
  width: 14px;
  height: 14px;
  -webkit-border-radius: 30%;
  -moz-border-radius: 30%;
  border-radius: 30%;
  font-size: 10px;
  text-shadow: none;
  -webkit-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}

.dark .header-dropdown-buttons .cart-count {
  background-color: rgba(0, 0, 0, 0.5);
  color: #cdcdcd;
}

.dropdown.open .cart-count,
.dropdown:hover .cart-count {
  -webkit-transform: scale(0);
  -moz-transform: scale(0);
  -ms-transform: scale(0);
  -o-transform: scale(0);
  transform: scale(0);
  opacity: 0;
  filter: alpha(opacity=0);
}

.total-amount,
.total-quantity {
  font-size: 13px;
}

.cart .table > tbody > tr > td,
.cart.table > tbody > tr > td {
  vertical-align: inherit;
}

.cart .quantity {
  width: 50px;
  font-size: 11px;
}

.cart .product {
  width: 220px;
  font-size: 13px;
}

.cart .product .small {
  display: block;
  color: #999999;
}

/* Small devices (phones less than 575px) */
@media (max-width: 575px) {
  .header-dropdown-buttons .btn-group .dropdown-menu.cart {
    min-width: 300px;
  }
}

/* Cart and Checkout pages
---------------------------------- */
.cart.table .price {
  width: 18%;
  font-size: 14px;
}

.cart.table .amount,
.cart.table .remove,
.cart.table .quantity {
  width: 12%;
}

.cart.table .quantity input {
  width: 60px;
  padding: 6px;
}

.cart.table .product {
  font-size: 15px;
}

.cart.table .product small {
  font-size: 12px;
  display: block;
  color: #999999;
}

.cart.table .amount {
  text-align: right;
}

.cart.table thead > tr > th {
  font-size: 16px;
}

.cart.table .total-quantity,
.cart.table .total-amount {
  padding-top: 15px;
  padding-bottom: 15px;
  font-size: 16px;
  font-weight: 700;
}

.cart.table .total-amount {
  text-align: right;
}

.cart.table .btn-remove {
  position: relative;
  top: -5px;
}

.cart.table .form-group {
  margin: 7px 0;
}

.table .information {
  width: 80%;
}

/* Small devices (tablets, phones less than 767px) */
@media (max-width: 767px) {
  .cart.table thead > tr > th {
    font-size: 14px;
  }

  .cart.table .amount,
  .cart.table .price {
    width: 12%;
  }

  .cart.table .remove,
  .cart.table .quantity {
    width: 8%;
  }

  .cart.table > thead > tr > th,
  .cart.table > tbody > tr > th,
  .cart.table > tfoot > tr > th,
  .cart.table > thead > tr > td,
  .cart.table > tbody > tr > td,
  .cart.table > tfoot > tr > td {
    padding: 8px 10px;
  }
}

/* Extra small devices (phones, less than 575px) */
@media (max-width: 575px) {
  .cart.table > thead > tr > th,
  .cart.table > tbody > tr > th,
  .cart.table > tfoot > tr > th,
  .cart.table > thead > tr > td,
  .cart.table > tbody > tr > td,
  .cart.table > tfoot > tr > td {
    padding: 8px 7px;
  }
}
